<template>
  <div style="margin-left:20px" class='h100 monitor-detail'>
    <a-tabs default-active-key="1" :style="{ height: '100%' }">
      <a-tab-pane key="1" tab="FOTA升级" :style="{ height: '100%' }">
        <part-update-list></part-update-list>
      </a-tab-pane>
      <!-- <a-tab-pane key="2" tab="FOTA日志" >
          <part-update-exception-log
              :default-query="{vin:getVin,taskName:this.queryParams.taskName}"
              :isSearch="true"
          style="overflow-y: auto;"></part-update-exception-log>
      </a-tab-pane> -->
    </a-tabs>
  </div>
</template>
<script>
import PartUpdateExceptionLog from '@/views/components/PartUpdateExceptionLog/index.vue'
import PartUpdateList from '@/views/components/PartUpdateList/index.vue'
export default {
  components: {
    PartUpdateList,
    PartUpdateExceptionLog
  },
  data () {
    return {
      queryParams: {
        vin: '',
        taskName: undefined
      }
    }
  },
  computed: {
    getVin () {
      return this.queryParams.vin
    }
  },
  created () {
    this.queryParams.vin = this.$route.query.vin
    this.queryParams.taskName = this.$route.query.taskName
  },
  watch: {
  },
  methods: {
  }
}
</script>
<style lang="less">
.monitor-detail .ant-tabs-content{
  height:100%
}
</style>
